<?php $this->load->view('home/layout/header') ?>
<div class="widthMax hd-introduce">
	<header data-am-widget="header" class="am-header am-no-layout">
	    <div class="am-header-left am-header-nav">
	        <a href="javascript:history.go(-1);">
	            <i class="iconfont"></i>
	        </a>
	    </div>
	    <h1 class="am-header-title">活动详情</h1>
	</header>

    <?php $content = explode('<br />', nl2br($details->content)); ?>
	<div class="hd-introCont">
		<div class="hd-introCont-txt">
			<?php foreach($content as $value): ?>
            <p><?php echo $value; ?></p>
            <?php endforeach; ?>
		</div>
	</div>


</div>
	<div class="hd-introFoot">
		<p class="intro">你想了解更多产品吗</p>
		<a href="<?php echo $details->links ? $details->links : 'javascript:;'; ?>" class="am-btn">
			<?php echo empty($details->text) ? '去周周特惠看看' : $details->text; ?>
			<i class="iconfont icon-youjiantou"></i>
		</a>
	</div>
<?php $this->load->view('home/layout/footer') ?>